/**
 * Copyright ©2012-2018 HopeHaiyang Corporation, All Rights Reserved
 * http://www.wuhanhope.com
 */
package hope.platform.data.server.data.header;

import hope.platform.data.domain.Role;

import java.util.List;

/**
 * class info
 *
 * @author hujia
 *         Create at 2018/7/17 9:47
 */
public interface RoleService {
    Role getByRoleName(String roleName);

    Role addRole(Role role);

    Role updateRole(Role role);

    List<Role> getAll();
}
